import webapp2
import record

def deleteAll():
  record.deleteAllMessage()
  return 'Success'

class EnterPoint(webapp2.RequestHandler):
  commandDict = {
    'deleteAll': deleteAll
  }

  def post(self):
    command = self.request.get('command')
    if command in self.commandDict:
      result = self.commandDict[command]()
    self.response.write(result)
    


   
